class Log{
  static bool _inProduction = const bool.fromEnvironment("dart.vm.product");

  static bool get isDebug => !_inProduction;
  static void d(dynamic msg,{bool show = true}){
    if(isDebug&&show){
      print(msg);
    }
  }
}